package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.constants.ScanRecordTypeEnum;
import cn.com.chengmandian.bike.model.EbDeviceBike;
import cn.com.chengmandian.bike.model.EbScanRecord;
import cn.com.chengmandian.core.web.pojo.AgentUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 电单车运营-用户扫码记录表 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-05-17
 */
public interface IEbScanRecordService extends IService<EbScanRecord> {

    EbScanRecord generateRecord(ScanRecordTypeEnum recordTypeEnum, Integer orderId, AgentUser agentUser, EbDeviceBike ebDeviceBike, BigDecimal lng, BigDecimal lat);

    EbScanRecord generateRecord(Integer errCode, Integer orderId, AgentUser agentUser, EbDeviceBike ebDeviceBike, BigDecimal lng,BigDecimal lat);
}
